class OrgEntity {
//所属省份Id
  String provinceId;
  //省份名称
  String provinceName;
  //城市Id
  String cityId;
  //城市名称
  String cityName;
  //区县Id
  String districtId;
  //区县名称
  String districtName;
  //组织id
  String orgId;
  //组织类型
  String orgType;
  //名称
  String name;
  //地区
  String areaId;
  //上级部门
  String parentOrgId;
  //GIS系统唯一标识
  String gisId;
  //备注
  String remark;
  //组织类型名称
  String orgTypeName;
  //地区名称
  String areaIdName;

  OrgEntity(
      {this.provinceId,
      this.provinceName,
      this.cityId,
      this.cityName,
      this.districtId,
      this.districtName,
      this.orgId,
      this.orgType,
      this.name,
      this.areaId,
      this.parentOrgId,
      this.gisId,
      this.remark,
      this.orgTypeName,
      this.areaIdName});

  OrgEntity.fromJson(Map<String, dynamic> json) {
    provinceId = json['provinceId'];
    provinceName = json['provinceName'];
    cityId = json['cityId'];
    cityName = json['cityName'];
    districtId = json['districtId'];
    districtName = json['districtName'];
    orgId = json['orgId'];
    orgType = json['orgType'];
    name = json['name'];
    areaId = json['areaId'];
    parentOrgId = json['parentOrgId'];
    gisId = json['gisId'];
    remark = json['remark'];
    orgTypeName = json['orgTypeName'];
    areaIdName = json['areaIdName'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['provinceId'] = this.provinceId;
    data['provinceName'] = this.provinceName;
    data['cityId'] = this.cityId;
    data['cityName'] = this.cityName;
    data['districtId'] = this.districtId;
    data['districtName'] = this.districtName;
    data['orgId'] = this.orgId;
    data['orgType'] = this.orgType;
    data['name'] = this.name;
    data['areaId'] = this.areaId;
    data['parentOrgId'] = this.parentOrgId;
    data['gisId'] = this.gisId;
    data['remark'] = this.remark;
    data['orgTypeName'] = this.orgTypeName;
    data['areaIdName'] = this.areaIdName;
    return data;
  }
}
